<template>
	<view>
		
	</view>
</template>

<script>
	import config from '@/common/config/config.js'
	export default {
		data() {
			return {
				webUrl: config.env.ycWeb,
			};
		},
		onLoad(e) {
			// 返回首页
			uni.$on('backIndex', res => {
				uni.switchTab({
					url: '/pages/index/index'
				})
			})
		},
		// 点击tabbar触发
		onTabItemTap() {
			uni.navigateTo({
				url: '/pages/webview/ycTakeaway'
			})
		},
	}
</script>

<style lang="scss" scoped>

</style>
